/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package PathModel;

/**
 *
 * @author Alwyn
 */
public class PathPoint {
    public Location lPosition;
    public double dDistance;
    public double dHeight;
    public double dConductivity;

    public PathPoint(double dLatitude, double dLongitude)
    {
        lPosition.latitude=dLatitude;
        lPosition.longitude=dLongitude;
        dHeight=0;
        dDistance=0;
        dConductivity=0;
    }

    public PathPoint(Location loc)
    {
        lPosition=loc;
        dHeight=0;
        dDistance=0;
        dConductivity=0;
    }

    public PathPoint(double dLatitude, double dLongitude, double dHeight)
    {
        lPosition.latitude=dLatitude;
        lPosition.longitude=dLongitude;
        this.dHeight=dHeight;
        dDistance=0;
        dConductivity=0;
    }

    public PathPoint(Location loc, double dHeight)
    {
        lPosition=loc;
        this.dHeight=dHeight;
        dDistance=0;
        dConductivity=0;
    }


    public PathPoint(double dLatitude, double dLongitude, double dHeight, double dDistance)
    {
        lPosition.latitude=dLatitude;
        lPosition.longitude=dLongitude;
        this.dHeight=dHeight;
        this.dDistance=dDistance;
        dConductivity=0;
    }

    public PathPoint(Location loc, double dHeight, double dDistance)
    {
        lPosition=loc;
        this.dHeight=dHeight;
        this.dDistance=dDistance;
        dConductivity=0;
    }

}
